def get_n_sum(*args):
    result = 0
    for i in args:
        result = result +i
    return result
# 元组的拆包
data_tuple =(10,20,30,40,50)  # 有没有括号都是元组
# data_tuple =10,20,30,40,50
ret = get_n_sum(*data_tuple)  # * 元组的拆包
print(ret)
